home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3selwin.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  4.3 KB  |  152 lines

  1.  
  2. // JavaScript wrapper for r3selwin.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_r3selwin_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_SELWIN = 62;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Add an item to New submenu of material tab. Class method.
  16. // p1: Integer, class id if the material class
  17. // p3: String, name to be used in the popup menu
  18.  
  19. R3SELWINCM_REGISTERMATERIALC = 62020;
  20.  
  21. function mR3SELWINCM_REGISTERMATERIALC(p1, p3) {
  22.   DoA2(this.r3obj, 62020, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  23. }
  24.  
  25. // Description: For R3WGA_DragSourceMth. Sent when an object is dragged from the select window.
  26.  
  27. R3SELWINM_DRAG = 62021;
  28.  
  29. function mR3SELWINM_DRAG() {
  30.   DoA(this.r3obj, 62021, 0, R3TID_INTEGER, 0);
  31. }
  32.  
  33. // Description: Add an item to New submenu of image effect tab. Class method.
  34. // p1: Integer, class id if the image effect class
  35. // p3: String, name to be used in the popup menu
  36.  
  37. R3SELWINCM_REGISTERIMAGEEFFE = 62022;
  38.  
  39. function mR3SELWINCM_REGISTERIMAGEEFFE(p1, p3) {
  40.   DoA2(this.r3obj, 62022, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  41. }
  42.  
  43. // Description: Add an item to New submenu of particle effect tab. Class method.
  44. // p1: Integer, class id if the particle effect class
  45. // p3: String, name to be used in the popup menu
  46.  
  47. R3SELWINCM_REGISTERPARTICLEE = 62023;
  48.  
  49. function mR3SELWINCM_REGISTERPARTICLEE(p1, p3) {
  50.   DoA2(this.r3obj, 62023, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  51. }
  52.  
  53. // Description: For internal map changes. Used for loading/saving selected objects    
  54.  
  55. R3SELWINM_CANDROPLIST = 62031;
  56.  
  57. function mR3SELWINM_CANDROPLIST() {
  58.   DoA(this.r3obj, 62031, 0, R3TID_INTEGER, 0);
  59. }
  60.  
  61. // Description: Class methods. Add an item to New submenu of the output tab.
  62. // Returns: Boolean, true if succeeded
  63. // p1: Integer, class id if the particle effect class
  64. // p3: String, name to be used in the popup menu
  65.  
  66. R3SELWINCM_REGISTERCHANNELCL = 62033;
  67.  
  68. function mR3SELWINCM_REGISTERCHANNELCL(p1, p3) {
  69.   return   DoA2(this.r3obj, 62033, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  70. }
  71.  
  72.  
  73. R3SELWINM_LOADSELCHOR = 62048;
  74.  
  75. function mR3SELWINM_LOADSELCHOR() {
  76.   DoA(this.r3obj, 62048, 0, R3TID_INTEGER, 0);
  77. }
  78.  
  79. // Description: Register new choreography loader
  80. // Returns: Boolean, true if succeded.
  81.  
  82. R3SELWINCM_REGISTERCHOREOGRA = 62049;
  83.  
  84. function mR3SELWINCM_REGISTERCHOREOGRA() {
  85.   return   DoA(this.r3obj, 62049, 0, R3TID_INTEGER, 0);
  86. }
  87.  
  88. // Description: Class methods. Add an item to New submenu of the view model tab.
  89. // Returns: Boolean, true if succeeded
  90. // p1: Integer, class id of the view model class
  91. // p3: String, name to be used in the popup menu
  92.  
  93. R3SELWINCM_REGISTERVIEWMODEL = 62052;
  94.  
  95. function mR3SELWINCM_REGISTERVIEWMODEL(p1, p3) {
  96.   return   DoA2(this.r3obj, 62052, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  97. }
  98.  
  99.  
  100.  
  101.  
  102. R3SELWINA_NoTab = 62500;
  103. function SetR3SELWINA_NoTab(value) {
  104.   R3Set(this.r3obj, R3SELWINA_NoTab, value, R3TID_INTEGER, 0); 
  105. }
  106.  
  107. function GetR3SELWINA_NoTab() {
  108.   return R3Get(this.r3obj, R3SELWINA_NoTab, R3TID_INTEGER, 0); 
  109. }
  110.  
  111. R3SELWINA_ShowClass = 62501;
  112. function SetR3SELWINA_ShowClass(value) {
  113.   R3Set(this.r3obj, R3SELWINA_ShowClass, value, R3TID_INTEGER, 0); 
  114. }
  115.  
  116. function GetR3SELWINA_ShowClass() {
  117.   return R3Get(this.r3obj, R3SELWINA_ShowClass, R3TID_INTEGER, 0); 
  118. }
  119.  
  120. R3SELWINA_BalanceTree = 62507;
  121. function GetR3SELWINA_BalanceTree() {
  122.   return R3Get(this.r3obj, R3SELWINA_BalanceTree, R3TID_BOOLEAN, R3TNF_ARRAY); 
  123. }
  124.  
  125.  
  126.  
  127. function r3Selwin () { 
  128.    this.base = r3God;
  129.    if(arguments.length) {
  130.       this.base(R3CLID_SELWIN, arguments);
  131.    }
  132.    // Methods
  133.    this.REGISTERMATERIALC=mR3SELWINCM_REGISTERMATERIALC;
  134.    this.DRAG=mR3SELWINM_DRAG;
  135.    this.REGISTERIMAGEEFFE=mR3SELWINCM_REGISTERIMAGEEFFE;
  136.    this.REGISTERPARTICLEE=mR3SELWINCM_REGISTERPARTICLEE;
  137.    this.CANDROPLIST=mR3SELWINM_CANDROPLIST;
  138.    this.REGISTERCHANNELCL=mR3SELWINCM_REGISTERCHANNELCL;
  139.    this.LOADSELCHOR=mR3SELWINM_LOADSELCHOR;
  140.    this.REGISTERCHOREOGRA=mR3SELWINCM_REGISTERCHOREOGRA;
  141.    this.REGISTERVIEWMODEL=mR3SELWINCM_REGISTERVIEWMODEL;
  142.  
  143.    // Attributes
  144.    this.GetNoTab=GetR3SELWINA_NoTab;
  145.    this.SetNoTab=SetR3SELWINA_NoTab;
  146.    this.GetShowClass=GetR3SELWINA_ShowClass;
  147.    this.SetShowClass=SetR3SELWINA_ShowClass;
  148.    this.GetBalanceTree=GetR3SELWINA_BalanceTree;
  149. }
  150.  
  151. r3Selwin.prototype=new r3Window;
  152. // r3selwin.h_H